package pattern.abstract_factory;

public class Test {
    public static void main(String[] args) {
        CoffeeShopFactory americanCofferShopFactory = new AmericanCofferShopFactory();
        CoffeeShopFactory italyCofferShopFactory = new ItalyCofferShopFactory();
        System.out.println(americanCofferShopFactory.makeCoffee().make());
        System.out.println(americanCofferShopFactory.makeDessert().make());
        System.out.println(italyCofferShopFactory.makeCoffee().make());
        System.out.println(italyCofferShopFactory.makeDessert().make());
    }
}
